const mongoose = require('mongoose')

mongoose.connect('mongodb+srv://lvfyao:RWsVjmc69EYFwKXY@cluster1019.ohowk.mongodb.net/db2401A')
    .then(() => {
        console.log('连接成功');
    }).catch(() => {
        console.log('连接失败');
    })

module.exports = mongoose